<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Orderid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-orderid" class="form-control form-control" name="row[orderid]" type="text" value="{$row.orderid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_nb')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_nb" class="form-control form-control" name="row[pay_nb]" type="text" value="{$row.pay_nb}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignee" class="form-control form-control" name="row[consignee]" type="text" value="{$row.consignee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consigneephone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consigneePhone" class="form-control form-control" name="row[consigneePhone]" type="text" value="{$row.consigneePhone}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consigneeaddress')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consigneeAddress" class="form-control form-control" name="row[consigneeAddress]" type="text" value="{$row.consigneeAddress}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Storagemedium')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-storageMedium" class="form-control form-control" name="row[storageMedium]" type="text" value="{$row.storageMedium}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Version')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-version" class="form-control form-control" name="row[version]" type="text" value="{$row.version}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods" class="form-control form-control" name="row[goods]" type="text" value="{$row.goods}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" class="form-control form-control" name="row[num]" type="number" value="{$row.num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gifts')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gifts" class="form-control form-control" name="row[gifts]" type="text" value="{$row.gifts}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-amount" class="form-control form-control" step="0.01" name="row[amount]" type="number" value="{$row.amount}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Courierfees')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-courierFees" class="form-control form-control" step="0.01" name="row[courierFees]" type="number" value="{$row.courierFees}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deliveryform')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deliveryForm" class="form-control form-control" name="row[deliveryForm]" type="text" value="{$row.deliveryForm}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Source')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-source" class="form-control form-control" name="row[source]" type="text" value="{$row.source}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Salesman')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-salesman" class="form-control form-control" name="row[salesman]" type="text" value="{$row.salesman}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Courierbut')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-courierBut" class="form-control form-control" name="row[courierBut]" type="text" value="{$row.courierBut}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Delivery')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-delivery" class="form-control form-control" name="row[delivery]" type="text" value="{$row.delivery}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wechat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wechat" class="form-control form-control" name="row[wechat]" type="text" value="{$row.wechat}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Alipay')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-alipay" class="form-control form-control" name="row[alipay]" type="text" value="{$row.alipay}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cash')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cash" class="form-control form-control" name="row[cash]" type="text" value="{$row.cash}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pos')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pos" class="form-control form-control" name="row[pos]" type="text" value="{$row.pos}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contraryto')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contraryTo" class="form-control form-control" name="row[contraryTo]" type="text" value="{$row.contraryTo}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payment" class="form-control form-control" name="row[payment]" type="text" value="{$row.payment}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gift')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-gift" data-rule="required" class="form-control selectpicker" name="row[gift]">
                {foreach name="GiftList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.gift"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remake')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remake" class="form-control form-control" name="row[remake]" type="text" value="{$row.remake}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
